package com.example.jh352160.surfingtv.network.item;

import java.util.List;

/**
 * Created by jh352160 on 2016/8/11
 */

public class AllCommodityItem {

    /**
     * code : 200
     * message : OK
     * data : [{"productId":17137,"productType":4,"name":"MCM可拆卸多用铆钉双肩包","summary":"去韩国必买的一款包不买你就out啦","buyUrl":"taobao://41355411330","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160727/81eb8977-a2f3-4a92-827a-b092bf5e6e3a/","productFrom":"淘宝","productStatus":1,"price":3880,"images":["http://app4tv.sudaotech.com/platform/image/1/20160727/c7cb9ea8-6a0d-4d84-9895-6b90dd7886b1/"],"favorite":0,"favoriteCount":0,"priceStr":"￥3880","shareCount":0,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=17137"},{"productId":15694,"productType":4,"name":"每个女生都有一个公主梦 城堡印花T恤满足你的公主心","summary":"每个女生都有一个公主梦 城堡印花T恤满足你的公主心","buyUrl":"taobao://533748159233","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160727/47a9634a-2b82-4947-90a2-c39193fe311f/","productFrom":"淘宝","productStatus":1,"price":69,"images":["http://app4tv.sudaotech.com/platform/image/1/20160727/7869cf29-eb35-4d31-b8d3-ba49541c078d/"],"favorite":0,"favoriteCount":0,"priceStr":"￥69","shareCount":0,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=15694"},{"productId":15673,"productType":4,"name":"纯色衬衫 你不变的万能选择","summary":"纯色衬衫 你不变的万能选择","buyUrl":"taobao://527258034665","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/81a8ea3a-5e24-4145-932f-fb2ed0c58320/","productFrom":"淘宝","productStatus":1,"price":149,"images":["http://app4tv.sudaotech.com/platform/image/1/20160725/d939d8b0-16ff-403d-8fcb-3b2e8a26bfea/"],"favorite":0,"favoriteCount":0,"priceStr":"￥149","shareCount":0,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=15673"},{"productId":15671,"productType":4,"name":"一年四季都可穿 一件线衫打天下","summary":"一年四季都可穿 一件线衫打天下","buyUrl":"taobao://534238435193","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/1d6d513c-cf2a-484d-9a5f-f05c5994d8d7/","productFrom":"淘宝","productStatus":1,"price":299,"images":["http://app4tv.sudaotech.com/platform/image/1/20160725/72605d6b-41ef-4cae-9647-c8f3c86c960c/"],"favorite":0,"favoriteCount":0,"priceStr":"￥299","shareCount":0,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=15671"},{"productId":15649,"productType":4,"name":"刺绣牛仔裤 低调的奢华","summary":"刺绣牛仔裤 低调的奢华","buyUrl":"taobao://533932044578","imageUrl":"http://app4tv.sudaotech.com/platform/image/1/20160725/ed49fa64-2f56-4313-bc59-ff7605f26682/","productFrom":"淘宝","productStatus":1,"price":334,"images":["http://app4tv.sudaotech.com/platform/image/1/20160725/a31fa1f5-e708-48ef-b29f-8e0296507179/"],"favorite":0,"favoriteCount":0,"priceStr":"￥334","shareCount":0,"detailUrl":"http://app4tv.sudaotech.com/mobile/productDetail.html?id=15649"}]
     */

    private String code;
    private String message;
    /**
     * productId : 17137
     * productType : 4
     * name : MCM可拆卸多用铆钉双肩包
     * summary : 去韩国必买的一款包不买你就out啦
     * buyUrl : taobao://41355411330
     * imageUrl : http://app4tv.sudaotech.com/platform/image/1/20160727/81eb8977-a2f3-4a92-827a-b092bf5e6e3a/
     * productFrom : 淘宝
     * productStatus : 1
     * price : 3880
     * images : ["http://app4tv.sudaotech.com/platform/image/1/20160727/c7cb9ea8-6a0d-4d84-9895-6b90dd7886b1/"]
     * favorite : 0
     * favoriteCount : 0
     * priceStr : ￥3880
     * shareCount : 0
     * detailUrl : http://app4tv.sudaotech.com/mobile/productDetail.html?id=17137
     */

    private List<DataBean> data;

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public List<DataBean> getData() {
        return data;
    }

    public void setData(List<DataBean> data) {
        this.data = data;
    }

    public static class DataBean {
        private int productId;
        private int productType;
        private String name;
        private String summary;
        private String buyUrl;
        private String imageUrl;
        private String productFrom;
        private int productStatus;
        private int price;
        private int favorite;
        private int favoriteCount;
        private String priceStr;
        private int shareCount;
        private String detailUrl;
        private List<String> images;

        public int getProductId() {
            return productId;
        }

        public void setProductId(int productId) {
            this.productId = productId;
        }

        public int getProductType() {
            return productType;
        }

        public void setProductType(int productType) {
            this.productType = productType;
        }

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }

        public String getSummary() {
            return summary;
        }

        public void setSummary(String summary) {
            this.summary = summary;
        }

        public String getBuyUrl() {
            return buyUrl;
        }

        public void setBuyUrl(String buyUrl) {
            this.buyUrl = buyUrl;
        }

        public String getImageUrl() {
            return imageUrl;
        }

        public void setImageUrl(String imageUrl) {
            this.imageUrl = imageUrl;
        }

        public String getProductFrom() {
            return productFrom;
        }

        public void setProductFrom(String productFrom) {
            this.productFrom = productFrom;
        }

        public int getProductStatus() {
            return productStatus;
        }

        public void setProductStatus(int productStatus) {
            this.productStatus = productStatus;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public int getFavorite() {
            return favorite;
        }

        public void setFavorite(int favorite) {
            this.favorite = favorite;
        }

        public int getFavoriteCount() {
            return favoriteCount;
        }

        public void setFavoriteCount(int favoriteCount) {
            this.favoriteCount = favoriteCount;
        }

        public String getPriceStr() {
            return priceStr;
        }

        public void setPriceStr(String priceStr) {
            this.priceStr = priceStr;
        }

        public int getShareCount() {
            return shareCount;
        }

        public void setShareCount(int shareCount) {
            this.shareCount = shareCount;
        }

        public String getDetailUrl() {
            return detailUrl;
        }

        public void setDetailUrl(String detailUrl) {
            this.detailUrl = detailUrl;
        }

        public List<String> getImages() {
            return images;
        }

        public void setImages(List<String> images) {
            this.images = images;
        }
    }
}
